import { createApp } from "vue";
import { createPinia } from "pinia";
import App from './App.vue'

import router from "./router";


// 导入全局css样式
import '@/styles/index.scss'

// 导入vant 组件库
import vant from 'vant'

// 导入vant组件库适配移动端事件
import '@vant/touch-emulator'

// 导入vant样式文件
import 'vant/lib/index.css'

// 导入自己的插件库
import Plugin from '@/utils/Plugin'

const app = createApp(App);
app.use(createPinia())
app.use(router);
app.use(vant)

// 注册全局组件
app.use(Plugin)

app.mount("#app");
